package com.itmayiedu.fallback;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Component;

import com.itmayiedu.servie.MemberFeign;

/**
     服务降级
 * @author tom
 *
 */
@Component
public class MemberFallBack implements MemberFeign {

	@Override
	public List<String> getOrderByUserList() {
		//服务降级处理
		List<String> list=new ArrayList<String>();
		list.add("服务发生异常  。。。。。");
		return list;
	}
	

}
